package com.wssnail.oss.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @Author: 熟透的蜗牛
 * @CreateTime: 2022-07-11 14:21
 * @Description: 七牛云上传配置类
 * @Version: 1.0
 */
@Data
@ConfigurationProperties(prefix = "wssnail.oss.qiniu")
public class QiNiuConfig {
    // accessKey
    private String accessKey;
    //secretKey
    private String secretKey;
    //命名空间
    private String bucketName;
    //临时路径
    private String tempPath;
    //图片域名
    private String domain;
    //分片大小
    private Integer blockSize=0; //M
    //区名
    private String  urlPrefix;
}
